package com.ruoyi.jeeplus.modules.screen.screen_PV.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.jeeplus.modules.screen.screen_PV.mapper.screen_PVMapper;
import com.ruoyi.jeeplus.modules.screen.screen_PV.domain.screen_PV;
import com.ruoyi.jeeplus.modules.screen.screen_PV.service.Iscreen_PVService;

/**
 * 光伏Service业务层处理
 * 
 * @author LAYH
 * @date 2024-10-20
 */
@Service
public class screen_PVServiceImpl implements Iscreen_PVService 
{
    @Autowired
    private screen_PVMapper screen_PVMapper;

    /**
     * 查询光伏
     * 
     * @param id 光伏主键
     * @return 光伏
     */
    @Override
    public screen_PV selectscreen_PVById(Long id)
    {
        return screen_PVMapper.selectscreen_PVById(id);
    }

    /**
     * 查询光伏列表
     * 
     * @param screen_PV 光伏
     * @return 光伏
     */
    @Override
    public List<screen_PV> selectscreen_PVList(screen_PV screen_PV)
    {
        return screen_PVMapper.selectscreen_PVList(screen_PV);
    }

    /**
     * 新增光伏
     * 
     * @param screen_PV 光伏
     * @return 结果
     */
    @Override
    public int insertscreen_PV(screen_PV screen_PV)
    {
        return screen_PVMapper.insertscreen_PV(screen_PV);
    }

    /**
     * 修改光伏
     * 
     * @param screen_PV 光伏
     * @return 结果
     */
    @Override
    public int updatescreen_PV(screen_PV screen_PV)
    {
        return screen_PVMapper.updatescreen_PV(screen_PV);
    }

    /**
     * 批量删除光伏
     * 
     * @param ids 需要删除的光伏主键
     * @return 结果
     */
    @Override
    public int deletescreen_PVByIds(Long[] ids)
    {
        return screen_PVMapper.deletescreen_PVByIds(ids);
    }

    /**
     * 删除光伏信息
     * 
     * @param id 光伏主键
     * @return 结果
     */
    @Override
    public int deletescreen_PVById(Long id)
    {
        return screen_PVMapper.deletescreen_PVById(id);
    }
}
